package com.example.sqlexport.mapper;

import com.example.sqlexport.entity.DatabaseConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DatabaseConfigMapper {
    List<DatabaseConfig> findAll();
    
    DatabaseConfig findById(@Param("id") Long id);
    
    int insert(DatabaseConfig config);
    
    int update(DatabaseConfig config);
    
    int delete(@Param("id") Long id);
} 